package com.shop.dao.user;

import com.shop.pajo.LoginTicket;

import java.sql.Connection;
import java.sql.SQLException;

public interface LoginTicketDao {

    int addLoginTicket(Connection connection, LoginTicket loginTicket) throws SQLException;

    LoginTicket getLoginTicketByTicket(Connection connection, String ticket) throws SQLException;

    int updateStatus(Connection connection, String ticket, int status) throws SQLException;
}
